<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns SDO_DAS_XML_Document for a given xml instance string</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sdo-das-xml.loadfile.html">SDO_DAS_XML::loadFile</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sdo-das-xml.savefile.html">SDO_DAS_XML::saveFile</a></div>
 <div class="up"><a href="ref.sdo-das-xml.html">SDO DAS XML 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="sdo-das-xml.loadstring" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SDO_DAS_XML::loadString</h1>
  <p class="verinfo">(^)</p><p class="refpurpose"><span class="refname">SDO_DAS_XML::loadString</span> &mdash; <span class="dc-title">
   Returns SDO_DAS_XML_Document for a given xml instance string
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-sdo-das-xml.loadstring-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type"><a href="ref.sdo-das-xml.html" class="type SDO_DAS_XML_Document">SDO_DAS_XML_Document</a></span> <span class="methodname"><strong>SDO_DAS_XML::loadString</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$xml_string</code></span>
   )</div>


  <p class="para rdfs-comment">
   Constructs the tree of SDO_DataObjects from the given xml instance string. 
   Returns SDO_DAS_XML_Document Object. 
   Use SDO_DAS_XML_Document::getRootDataObject method to get root data object.
  </p>

 </div>

 <div class="refsect1 parameters" id="refsect1-sdo-das-xml.loadstring-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>

      <em><code class="parameter">xml_string</code></em>
     </dt>

     <dd>

      <p class="para">
       xml string.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-sdo-das-xml.loadstring-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns SDO_DAS_XML_Document object on Success 
   or throws exception as described.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-sdo-das-xml.loadstring-errors">
  <h3 class="title">错误／异常</h3>
  <p class="para">
   <dl>

    
     <dt>

      <em><code class="parameter">SDO_TypeNotFoundException</code></em>
     </dt>

     <dd>

      <p class="para">
       Thrown if a type is not defined by the underlying model.
      </p>
     </dd>

    
    
     <dt>

      <em><code class="parameter">SDO_PropertyNotFoundException</code></em>
     </dt>

     <dd>

      <p class="para">
       Thrown if the a property within a type is not defined 
       in the underlying model.
      </p>
     </dd>

    
    
     <dt>

      <em><code class="parameter">SDO_DAS_XML_ParserException</code></em>
     </dt>

     <dd>

      <p class="para">
       Thrown for any problems while parsing the given XSD File.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>



 


 


 


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sdo-das-xml.loadfile.html">SDO_DAS_XML::loadFile</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sdo-das-xml.savefile.html">SDO_DAS_XML::saveFile</a></div>
 <div class="up"><a href="ref.sdo-das-xml.html">SDO DAS XML 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
